﻿using System;
using System.Threading;
using System.Windows.Forms;


namespace 一起来击键
{
    public partial class 主界面窗体 : Form
    {
        右下角通知窗体 tip = new 右下角通知窗体("欢迎使用一起来击键");
        public 主界面窗体()
        {
            InitializeComponent();
            ThreadStart childref = new ThreadStart(sleep); 
            Thread childThread = new Thread(childref);
            childThread.Start();

        }

        void sleep()
        {
            tip.Show();
            for (int i = 0; i < 3; i++)
            { 
                Thread.Sleep(1000);
            }

            tip.Close();

        }

      


        private void main_windows_Load(object sender, EventArgs e)
        {           
            
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            数码输入窗体 form1 = new 数码输入窗体();
            form1.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            文本输入窗体 文本窗口 = new 文本输入窗体();
            文本窗口.Show();
        }

        private void label1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://gitee.com/cloverlzy/hit-the-keyboard");
        }

        private void button3_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://gitee.com/cloverlzy/hit-the-keyboard/releases");
        }
    }
}
